Refactoring of templating process

The jinja engine is now used through flask's render_template function
within the flask server file.
A file is written for parsing the config file. The parser now writes a
id tag to each section.