Fixed project layout, added unit test projects, aligned namespaces