Finishing template1, add template 2, add functionallity to change code, should wrap the code into modules