initialize a lot of attributes with a hash input