generate db tables properly, other cleanup.
point to AWS instance