Finally got databases working, just need to expand