Initial version of database exercise (loading from file)