delete main.xml
add fields in models
add log model
add database implementation
test database