added bind-keys function, and set all custom key bindings using this function