Restructure to remove Classes folder

-Minor code consistency fix
-Added platform white list
-added gitignore