Add a basic API, some work on the top bar and default.tpl.php, make network names case-insensitive