refactored import statement parsing, now parsed as meta to keep comments and formatting
added a few import tests