Fixed minor problems.
Find out type of variables - use ANTLR? For now, fell back to 'all string' mode.
Almost ready to create java files from templates.