Implemented config module to style app, fixed registratinon