added rake tasks to import resources and agents