Getting the package name from the end of things.
Added some tests and fixed some repo stuff.