add etherpad/ethermisc to misc and refactor