Updated composer.json
Completed basic implementation
Added tests for library