Tocorder

Ordered the topic display in the table of content in ascending page order and improved loading the app config from the DB aiming to get rid of the yaml files.

@kalbermattenm: may I ask you to spot the flaws? :)