Clean up environment, remove unnecessary files.

Improve code quality
Update gems