Frontend: prototype

For test, You must insert some rows in `works` table.
Also, `type` seems unnecessary.