added $resource provider and moved global controllers into angular module
cleaned up some packages
some idea project files added