move all controllers under api namespace; add foreign key on genres from books