PEP 8 compiancy and improved documentation
Added str representation for consumed resource
Updated documentation