convert ProjectApi to spring-mvc