Added API Architecture and edited database