changed the structure and moved the tests near to the sources
completed the py tests