Refactor Generic EntityManager to implement findById.
Implementing purchase and products.
Changing layout and forms.