[WIP] poc/apiimport2.0

(int) please, to be compatible with hhvm http://docs.hhvm.com/manual/en/hack.annotations.typecasting.php