Implemented PostGreSQL database installation
Template reorganization