Refactored getters
Implemented sync_folders method