update readme, add log and calculation functionality