Move code to src directory