added .gitignore
splitted launcher code and library code
to be able to capture stdout