Added support for time library, resolves #13