This PR mostly addresses issue #1

[BIG WARNING] the PR is too big for code review but PR is chosen to be done here in order to reset completely the development workflow. Still, **everything** should work. 
Issue  #1 is partially addressed.