main function to use as an starting point. Entities file to load default tasks, roles and resources