Started work on quat library