appliend maven arch and change spring structure