refactored poisson system into separate files