Add bulk of the project

Add scala source code