Finish data retrieval functionality
Support module addition and writing out