Added middleclass
Added loader script