using first arg as model name always; general code clean up
implementation of custom actions; improving how actions are added in resource