Github + Refactor

Complete refactor and added support for Github and bumping dependency versions.

Also improved documentation.

@quintona @benl23x5