clean-up/remove almost all compilation warnings
don't use dynamic type: replace Array by Vector.<>
remove unused imports