Code cleaning, commenting and refactoring

* More comments
* Less spaghetti code
* Cleaner implementation of intrinsic.py
File support implementation based on C style FILEs.
Needs a new implementation of core::string to insure better performances.