Created entities, added dependencies and added persistence settings.