Restructuring and include fixes for opentxs-server