Added basic mybatis configuation and teste that using test cases.
Required rearrangement of all the files.

Signed-off-by: Shivendra Panicker <shivendranitb@gmail.com>