Added controllers for updating some tables. General idea is to
enforce logic uniformly in one place. This isn't a proposal
for strict MVC structure but the idea is borrowed from that
design.