added initial header
added subkey() implementation
added declare for subkey() in header