Initial working version using poco libraries