Working API.
Fix some broken stuff. /parts/ endpoint must be optimized.