Fixed silly mistake in system definition file.
Replaced manual sequences creation by serial type.
Refactored some code in system definition file
Implemented one-line HTML generator