Program log model

If there are any major mistakes, tell me and I'll try and fix them