Main functions finished and working as expected.

TO-DO: Load database contents and give style.