remove unused function and struct
Merge pull request #19 from cubicdaiya/issues/remove_unused

remove unused function and struct