First version with spring mvc