added constant SYSFS and define conditional directives for calculator…