Using composer for dependencies

- Accom model ready for retrieving attachment
- Changed database config