Added all compiler warnings
Added Protobuf dynamic parse of file and data.