Added basic ios support
Round of cleanup