move keymixin stuff to app
stop hardcoding the ubuntu user
rework some functions