Merge pull request #3 from bdaylik/master

Refactored handlers
Scalariform
Refactor using context bounds
Remove RegisterConnection
Add handler objects
Simple is ok
Refactor DB
Merge pull request #4 from fehmicansaglam/master

Refactor using context bounds
pattern matching in execute() changed with if-else
fixed type matching