2° commit

Many bug fixes. Implemented function to load games