Database classes with Doctrine, initial setup and troubleshooting

Signed-off-by: Rayvenhaus <steven.sheeley@gmail.com>