Add requirements file for pip
Move library to own file
use bidict