updated Main to include more function for better ease of use as library, updated jars and readme.