Response and Query classes added with tests.
Input and Core class updated.