hiding implementation in hashmap.c

Also adding hashmap into compile system, fixing compile errors in
hashmap and radiobutton.