JEE7 backend for medek. Provides an REST API.