Removed misc.* files and put the content inside relevant .go files

Signed-off-by: Jacky Boen <aqiank@gmail.com>