Added a lot of developments and a few basic ide features.
major refactoring