Adding restfull database update and removing update for (app.js, main.php)

Do not worry some files are modified , but without any effect (cause i have removed changes)

Features added (for during_casting) :
Adding new records, 
displaying records