Merge pull request #1 from dkoper/master

Initial impl for fgcp. Also additions to core for subnets