Reorganised some input, levels are read from resource stream