updated readme, cleaned up files, fixed test_main