style changes; still unusable

changed coding style and html style
tiny fixes

fixed tiny bugs in index.php, better style, now query field contains
$_GET['q'] as value. Also added powered by in index.php and a skeleton
of submit.php