Return nulls for empty values in entity
Added ability to specify directory
Correct form rendering for bootstrap