Finished correcting the controllers

Some bugs may still show up, some lines are still using the plural forms
like  `if(isset($_POST['Takings']))`
We'll see...