Lots of functionality ported, added preliminary tests.
Restructured codebase to be psr-0 compliant, more tests added
Removed deprecated "classes" directory.
Code cleanup, small refactors, phpdoc comments.
Removed orphaned RegexCallback.php from repo