Respect new folder structure for reuter.
Move variable initialization into section. Do not initialize if we
already can attach to a session.
Remove legacy database handling. Instead fetch customer name from file
path and concatenate project and customer to database name. This also
supports more deeply nested folder structure within customer folder.