Fix couple of bugs and warnings in all classes. Create order entities.
Delete unused fragment.