Begin library implementation. Add basic directory scanner for Mac.