Change project structure / SBT build.

Change the project structure to use SBT to build the library.

Signed-off-by: Gary Pamparà <gpampara@gmail.com>