added beginning of SPV node implementation