Initial import of old and rusty script ;)
Moved files to proper directory structure
Removed old license information
Cleaned up code and namespaced it
Renamed files to be properly autoloaded