Implement template pattern
Add main file to test template method class
Add .pyc files to git ignore