Updating source code to new code guidelines

- Bug fixes
- Added Basic Stream classes (Abstract, File and Memory)