Janitorial, floating bit of text in base template

removed a bit of text that should not have been there
Refactored testing to work with splite

also removed a test as methods of SELP can’t be accessed directly
Added sqlite database for testing perposes

moved code from db.py into SELP.py