f/#61 Added a Meta class to BaseResource and inherited from it in api/resources.py