Optimize OrderManager

Add synchronized block to getOrders and updateOrderFile
Alter getUser(String orderId) to getOrderById(String userId)
Refine variable names