added sql and tided up some code
seperated links out, small refactor and added layout class
minor changes, added more links, filled out index more and started work on IdeaBoard::Security