added requirements.txt and tweaked formatting