initial commit. Time functions implemented, no interfacing with chip though