Electronic Structure Based Investigations of Hybrid Perovskites and Their Nanostructures