moved code into seperate files. extended trello functionality