[REFACTORING] 1-minimal rewrite in the developer branch

Here's the rewrite from yesterday now in the developer branch, I have also fix some bugs that were still there and extended the views to show how to use the new code. Hope you will like it