Moved libs into server/libs, refactor HeadingFilter to be a constructor, include position in message, remove dead code