#396 Moved Doctrine classes to src and namespaced them