Let's put some order, we split the functions between the core function and the python wrapping stuff
added licenses files