added lib folder containing code
updated ignore patterns