Refactor from array to objects.
Cleanup.
Set types.
Start working with parse parameters.
Add lock.
Note.