Create API

Create API for accessing Plook's functionality with unit tests.
Also adapt the entry point of the module to make it return either Plook class or server.