HOMEWORK and Resource PART done + SQL database file