Fixed a missing </a>
Moved problem-generation into a service. UI stuff.