Migrated to Ant-based build and IntelliJ 13