added compile endpoint
Merge pull request #5 from nearform/compile

added compile endpoint