Separate files into public and server