introduced project model with files. restructed code
define endpoint
use push state