DbUtils class added, database insertion added, logging process changed slightly