SPI helper functions set up
initializtion function written
got some time getters and setters. should be complete enough to test