Merge pull request #1 from niksu/master

minor edits
* Refactoring of the Tuple type
added debug flag;
syntax convention;
macros for subject-constant;
syntax convention;
code convention;
added example query;
proposed record structure;