Added functions to open and close an file and added some help functions.
Added a new structure which describes a stream. It is used now for all
filefunctions.
Made plenty of bug fixes.
Changed file handlers to the new stream method.
Changed some settings.