refactored lots of code
added pyCa folder