New functions for more OOP

Added functions such as nav for smaller file size and better OOP, also
rewrite Session array.

Create page also ready to start adding SQL