Added main code

First commit