Modified pyca : now pyca.py can be imported as a Python Module