Added php depend as a dev dependency
Major refactoring of namespaces and packages