created file common.hpp + adde header guards

moved callback type to new file
created VVResultCode enum for further use