basic functionality of 2

still throws some errors
build path of the jars needs to be fixed