Structured the project, added modules and some tests.