Extract a package main
Add instance methods for each advise before call