Improve DB speed by splitting index
Improved plotting script
Added function to code DB
Updated work on doxygen generation