update

new folder structure
fixed a few inconsistency issues
daemon script get_stats.php renamed to getstatsd.php
made html pages smarty, to get ready for v2.0 that has an admin panel.