change to fragments
added better comments and logging to logcat
updated to newer Android version (4.4.2)