add index and server module