trying to separate into functions
First offline version
Merge pull request #1 from solojavier/offline

Offline