Implemented application settings in admin interface and fixed various issues regarding it