Fixed package definition to avoid always polluting the global scope
Added some more claryfing comments
Added support to ease function for animations, fixes #6