Refactoring of file access, video initialization and font handling. Remove all sources from core directory.