updated readme with attributes, implemented 'has' keyword