remove database config
separate js files
add editor