Reformat project structure + PostgreSQL

Reformatted project file structure and also added PostgreSQL connection
type.