Move code to src directory and added build script