move admin.php to tpl engine and put js files into assets dir