Made some changes to initializer if no spring active profiles were active