fix things and move things around

changed get command to check mode and moved it to mode file
fix charge mode
fix flagcheck