character animations code structure

added the ability to pass a has of attributes to an object and have it set all of the values for the passed in keys