Add .define_attributes method

Add new DSL method which can generate initialize and attributes methods