added assets plugin, fixed crud and API