nigrated code from internal project
added dep to doctrine (only to use its interfaces)
renamed namespaces; added licenses
removed empty file
Merge remote-tracking branch 'origin/master'