Added basic timespec functionality, along with tests