Added particles via Lua

- Added lua particles
- Added particle logging
- Cleaned up code