Started adding logic to use callbacks
Using callbacks instead of return value
Added tests for testing a route via function.