Some changes in index.php
Prepare a new task.

Add the fact tables from a database in the form of classes.
Uniform create table editing (independent of editable tables).
Well as an independent java script code to open the editing cards.
add js template