[TASK] Added director model, added unit tests and json api