move templates dir and add requirements.txt