Added level loading functionality