Move all shared endpoint logic to an Endpoint parent class
Merge pull request #9 from RoboticCheese/roboticcheese/refactorings

Move all shared endpoint logic to an Endpoint parent class