migrations code improvements
reification of security concept
add more models
add constraints
add news models