Write some animation stuff

Some other stuff also, no idea what