Cleaned up code. Edited routes.