Cleaned up and removed legacy code. Added credits and license to readme.