Basic layout processor implemented. Still some bugFixing.