Moved code to src folder

Moved code to src folder