Cleaned and organized code. Removed unused variables and methods.