Added main file and build system