Added contructor
Added animation parameters to methods