Manipulating light and matter with photonic structures: Numerical inverstigations on photonic crystals and optical forces