Code structure bibdoc

The main page now works with python setup.py develop
I update the rest now for the search