All main functions were added

Now application displays all information from the database correctly