fix. PEP8. don't use relative paths on import.
mod. revert_rate depends on namespace.