Creating a simple REST application and server