Added logic page, moved libraries, fixed navigation buttons not being selected