Add move code

May work, haven't check it yet because there's no draw code at the
moment.