Created main source

Main template for source code