added logic to check for complete
added lib to load path
added ability to take tournament id