Updating readme and changing headers functions to header