refactorings
package type to object. determine package type to restructureaction from scan actions.