Updated DB.
Created templates.
Fixed a problem with data types.
Fixed a problem with data types.
Added functionality to create a new problem.