move gm wrapper to lib folder
add resize / crop / generate function