converted to maven project and included spring dependencies