More basic implementation

mostly regarding server and client actions