added timekeeping library and preliminary IR support for lights node unit