better variable redefinitions
Added extend_dict function
Allow using module.varname in parameters
Added docs
Added advanced.py example mentioned in README

It's not very advanced yet, I'll add some more functionality into it later.