Added SQL structure file.
Functions moved to functions.php and twitteraccess supports search.