split server into multiple files
search view now works and minor bug fixes
working fully!