Reformat code to wordpress style
Keep track and delete non imported objects