@@ -0,0 +1,863 @@
+package eic.beike.projectx.projectXServer;%0A%0Aimport eic.beike.projectx.util.ScoreEntry;%0A%0A/**%0A * Used to interact with the database, these are long running network operations and should not be called%0A * from the UI thread.%0A *%0A * Created by alex on 10/1/15.%0A */%0Apublic interface IDatabase %7B%0A%0A    /**%0A     * Register a name for the given id.%0A     * @return True if registration succeded, false if it failed.%0A     */%0A   boolean register(String id, String name);%0A%0A    /**%0A     * @return True if score was recorded correctly, false if it failed.%0A     */%0A    boolean recordScore(String playerId, int score, long time, String bus);%0A%0A    /**%0A     * @return The best ten scores for all players on all buses.%0A     */%0A    ScoreEntry%5B%5D getTopTen();%0A%0A    /**%0A     * @return The best ten scores for the given player.%0A     */%0A    ScoreEntry%5B%5D getPlayerTopTen(String playerId);%0A%0A%7D%0A

Add interface for database interaction.