Changed the Restful API, added the Entities from external JAR