Ported changes form vesi-cms: Modular frontend, new system structure (backend is still a mess)