Remove unused function
Add basic platform detection
Erase addons dir and replace with dirs containing only icon.png