base setup of java spring application