Patched Router.go to send animation as a parameter

Refactored all the code into a folder named mime.
Will eventually move this into a package.