done with base structure gcm, need to add phots part and UI