Move library to use namespaces
Add composer file for easier deployment