Adjusts the project layout. Adds a build and dependencies for test.

Fixes #7