add editorconfig
add rest task
add model and contoller