Refactor WP Import Plugin

This is a complete refactor to provide better logging and error handling.