Merge pull request #14 from zinic/master

first swipe at c rewrite
Merge pull request #15 from zinic/master

more work on the c parser
Merge branch 'master' of github.com:ProjectMeniscus/portal
updates for callbacks and structured data
fixing sd parsing