Adding some initial endpoint classes
Updating namespacing
Fixing namespace names & adding uses to head of main file
Adding some placeholders for later
Adding some of the old code

In use on the toy shop sites. May continue using this or finding another method
Merge branch 'dev'

Lots of experimental ideas still going on. Souldn't
really be going into master at this stage.
But hey - its my GitHub :p