Seperate client and server side components