Validation added

Only console yet.