merged album query script into prompt and changed prompt method to readline