A Study of Fluid Interfaces and Moving Contact Lines Using the Lattice Boltzmann Method