[Issue #13] Reworked the controller-view templates. Fixed some glitches
on some datatypes for the forms. Separated everything SQL based to
prepare the scaffolding for other backend adapters.