System Commit

Added in locations of the events (included in databse) also made the
homepage dynamic, checks databse etc... Minor style tweaks.