initial directive testing efforts
reorg code into core, edit and angular pieces
Merge pull request #72 from MapStory/reorg

reorg code into core, edit and angular pieces