Huge changes: image resizing, factory in server.