Timestamps and validation

###Change log
#####Optical v0.0.6: Timestamps and validation
- Figured out timestamps.
- Moved code around.
- Wrote some form validation.