added comments to and refactored bits of  my Application and Entries Controllers