deleted unused files, cleaned up code, added more comments