Rewrote system structure. Included database connection. Added formatters