Add basic controller methods and validation action

Does no validation yet, but this can be merged in.