added GDK demo, refactorings
added dir traverse and simple methods to write to file