added some server logic and console client bullshit
added some server logic and console client bullshit