Fixed some bugs, added loading indicator, implemented more fields, refactored the code a tiny bit.