Validation
added length validating
added store controller and tests, validates fixed