W3A2: Moved configuration loading into init method.
W3A2: Added database connection.
W3A2: A panic is already logged by beep
W3A2: Added templates.