Mass Cleanup

de-segregated maps, cleaned up search and styles, separated code
(js/php) files.