Added missing Javascript files. Added initial composer file (for future use). Adjusted main.php to use DB::count function and refactored get_messages Ajax script to use PDO.
Adjusted main.php to use DB::count function for remaining queries.
Formatted source. Removed empty files.
Adjusted .htaccess file (from production server). Updated mark_msg_read to use PDO. Made initial changes (PDO) to Kana class.