split server into seperate repo