Added so all classes are formated right and extends the piece class