Projectification

I'd like to keep this as a module instead of just importing the code and dealing with the disaster that comes with it. This allows anyone clients to simply import the project as a git submodule with all that fancy stuff.

Also added licensing.