tl;nr but may be your problem is you started too big. Try to simplify your idea and implement it. Once it works, add stuff, implement and repeat.