OOP wrapper for entities