Added handling of web api

Added handling of web api to get a list of cartridges.
Changed access of cartridge files with a extra static class.