Major refactoring and implemented side menu buttons