Move parse method to subclasses
Structure directory parsing