Version 2.1.0: Adding wrappers for Entity resources

Most of the code was rewritten from scratch following PHP best practices and OOP patterns, however API's (mostly) still the same