change API to consider energy calibration
update logging
update default data structure
update functions api