Added endpoints for getting/adding facts from/to database
Cleaned up UI a bit