changed main app to run spring