Generalized the library. Improved the performance of the OpenGL
rendering. Extracted out the random CA.
updated readme