added check if file is there
fixed syntax error
better init db
Merge branch 'master' of github.com:jeena/seinheit.ch