Creating systems factory using $resource in preparation for upcoming del...

...ete functionality.