Remove dead code, remove separate small functions for init only code to make debugging easier.
Remove dead code, remove separate small functions for init only code to make debugging easier.

christabor/flask_jsondash,christabor/flask_jsondash,christabor/flask_jsondash