Cleaned the code and removed unnecessary files.