made lua module independent of mcscatter specifics
Created config class