Structure and started on api