My first attempt at creating a CMS