Added readme and fixed goal source code bug