added parsing of import declarations