modules: cleanup unnecessary modules and libs