Added modules for lib and test code

also added first tests in i_is_example.py