added link entity
created entities
firsts rel tables