Changed routes to use callbacks instead of emitting events, added first few cuke tests