methods.py file added

In earlier commit methods.py file not added which gives import error.
which gets resolved.