Crated initial application and configured db.
Added better errors and binding of caller.