Refactor and decouple REST api framework

The recording API endpoints have been moved from the server.py module to a new class called recording.py.
There should be a docstring style outline in the Freeseer developer docs. Here would also be a better place to describe at a high level what is going on inside the function (i.e. it persists the recording info).