Added README template, removed deprecated functions in functions.c and added comments to functions.c.