Switch to cmake, crossplatform hashing, terminal input