moved dependency code to libraries
added data in .csv format
separated code into files, added transition