Starting better ip activity
Overall refactoring
Cleanup
added date to database