Setting up tmux and some other refactoring