Code cleanup

- removed Makefile (autogenerated by Makefile.PL)
- added documentation stub (still to be finished)
- static methods refactored to class methods
- changed access to Perl data structures to use modern syntax
- rearranged base test