now main.php contain programm code
cut program code from index.php into main.php
form.php contain form for application
add in tests files new config class
new config file MIConfig
add in tests files new config class
update constructors api and db classes with new config class
rename api file
update main.php
add table and styles for her
created main MegaIndex class
change index.php, now its work with new main class