add ecto database adapter and postgres dependencies
added database repository and configuration