fix CodeSniffer issues
renamed database handler
Give items their special place
fix namespace
code cleanup, adding Security, User and Sessions class