The idea sounds reasonable, build it step by step and report back with screenshots if something malfunctions.