Attempting to create a custom CMS