gm added lib directory and examples update