Add test stubs; add gradle build file; move file for IDEA