UPDATED basic global function for now, until I work out the module way to organise code.
RENAMED controllers and models.
RENAMED completed renamed all controllers and models.
UPDATED using a model to populate the select menus.
UPDATED working on solving issue-1.