fixed doctrine reader bug and removed uneeded files