Major simplifications and refact

less db tables
more flat client hierarchy
better templates
less routes