Made more sensible

Removed unnecessary stuff, switched to installing to $HOME, scrapped sudo

Also added error checking