refactored particle struct and wrote Documentation for it