added main modules to try out python code, will add some unit tests later.